home *** CD-ROM | disk | FTP | other *** search
/ Programming Sound Cards / Programming Sound Cards.iso / sound_35 / gustest.txt < prev   
Encoding:
Text File  |  1995-01-01  |  2.2 KB  |  57 lines

  1. GUSTEST.EXE v1.21        4/6/1993
  2.  
  3.   GUSTEST is a simple program which detects the base address of the
  4.   Ultrasound and how much memory is installed.  (For some reason on
  5.   my system DRAM lies and says I have 768K. And no, I'm not running
  6.   SBOS at the time.)
  7.  
  8.   If you specify the -t option, GUSTEST will write patterns to check the
  9.   DRAM installed on the GUS.
  10.  
  11.   If you specify the -u option, GUSTEST will assume you're using unsigned data.
  12.   
  13.   If you specify the -s option, GUSTEST will assume you're using signed data.
  14.   
  15.   If you specify the -w option, GUSTEST will swap data bytes for 16-bit samples.
  16.   
  17.   If you pass filenames to GUSTEST, it will play them as .SAM files.
  18.  
  19.   If you specify the -d option, GUSTEST will dump the DRAM contents to screen.
  20.   
  21.   The -b option lets you choose 8-bit (-b8; default) or 16-bit (-b16) SAMs.
  22.  
  23.   The -z option clears the DRAM.
  24.  
  25.   This is my first GUS program so far... apologies if you think it sucks.
  26.   Written using Turbo C++ v1.01 in C mode.
  27.  
  28.   -- Michael Chen     mchen@cs.psu.edu          3/23/1993
  29.  
  30.   A tiny fix (< instead of <=) was made to prevent 1024K GUS owners from
  31.   being told they have an extra 256K. (4/5/93)
  32.  
  33.   The block-move and block-set routines were speeded up considerably.
  34.   I can now clear 256K of DRAM to zero in 3.3 seconds, including program
  35.   loading from disk/cache.  Also includes source, with C (and C++?) code
  36.   for using the GUS.  No assembler required... it's all in Turbo/Borland
  37.   C.  Enjoy! (4/18/93)
  38.  
  39. SOURCE CODE USAGE NOTE
  40.  
  41.   If you use this for free or public domain software, please let me know
  42.   and send me a copy of the program.
  43.  
  44.   If you use this for programs which require a fee, please send $10 to me.
  45.   The address below is valid through early August 1993; after that, send 
  46.   e-mail to the above address for an updated one.
  47.  
  48.         Michael Chen            (until 8/93)
  49.         144 East Cherry Lane
  50.         State College, PA 16803
  51.  
  52.   In any event, the source code distributed here may not be altered for
  53.   distribution without my permission (so I can keep track of changes).
  54.   Mention of the use of these routines should appear somewhere in programs
  55.   which use it (not just in comments, please).
  56.  
  57.